home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 532 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  908 b 

  1. Path: news1.cris.com!news
  2. From: andym <@cris.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: C to C++
  5. Date: 4 Jan 1996 23:00:17 GMT
  6. Organization: Concentric Internet Services
  7. Message-ID: <4chm61$dh8@spectator.cris.com>
  8. NNTP-Posting-Host: crc10-fddi.cris.com
  9.  
  10. The BFP <bfp@comcept.ab.ca> writes:
  11. > Hey,
  12. > I am new at this stuff, and I am trying to learn C++.  I have looked at C 
  13. > source code, and incredibly Simple programs like
  14. > <#include stdio.h>
  15. > printf("Hi")
  16. > Will not compile for C++.  I am lame, yes, I kn ow but, hey, Nobody is 
  17. > perfect, anyways, could somebody help me :)
  18. > Please :)
  19.  
  20. I am also new at C and C++, though I have written a few basic programs, however,
  21. I feel you should start at C.  Looking by what you just wrote,
  22. beginning at C is critical.  It is certain you wrote your Hi sample program or
  23. in a hurry, or as a humorous gesture.  Your example has numerous mistakes.
  24.